#pragma once

#include <string>


class HttpEtagCombiner
{
public:
    HttpEtagCombiner(const std::string_view &dict);

    void combine(const std::string_view &str);

    std::string result();

private:
    using BinaryBuffer = std::basic_string<unsigned char>;

private:
    BinaryBuffer binary_;
    const std::string dict_;
};
